import React from 'react'
import ReactDOM from 'react-dom/client'
import { RouterProvider } from 'react-router-dom'
import { Provider } from 'react-redux'

import router from '@/router/'
import store from '@/store/'

// 去除浏览器默认样式
import 'normalize.css'
// 自定义颜色主体
import '@/assets/styles/index.css'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(<Provider store={ store }>
  <RouterProvider router={ router } />
</Provider>)
